class CRPEExportOptions
This class is used to get and set the export options of a print job. It is used by member functions CRPEJob::GetExportOptions, and CRPEJob::ExportTo.
Data Members
m_formatType
| Specifies the export format to be used.
|
m_formatDLLName
| Specifies the name of the format DLL that contains the export format to be used.
|
m_formatOptions
| Provides additional export information specific to the format type being used.
|
m_nFormatOptionsBytes
| Automatically assigned by CRPEJob::GetExportOptions. Unused by CRPEJob::SetExportOptions.
|
m_destinationType
| Specifies the destination type of the exported report.
|
m_destinationDLLName
| Specifies the name of the destination DLL that contains the destination type to be used.
|
m_destinationOptions
| Provides additional information specific to the export destination type.
|
m_nDestinationOptionsBytes
| Automatically assigned by CRPEJob::GetExportOptions. Unused by CRPEJob::SetExportOptions.
|
Constructor CRPEExportOptions::CRPEExportOptions
CRPEExportOptions::CRPEExportOptions constructs a CRPEExportOptions class object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.
Constructor Default Syntax
CRPEExportOptions ();
Constructor Syntax
CRPEExportOptions (formatDLLName CHAR(*) : NULL, formatType INTEGER: 0,
formatOptions FOREIGN : NULL, destinationDLLName CHAR(*) : NULL,
destinationType INTEGER : 0, destinationOptions FOREIGN : NULL);
Constructor Parameters
formatDLLName
| Specifies the name of the format DLL that contains the export format to be used. Assigns this value to the CRPEExportOptions::m_formatDLLName member. Select a DLL from the following table:
|
| To export a report in this
format:
| Use this DLL:
|
| Crystal Reports Format
| uxfcr.dll
|
| Data Interchange Format
| uxfdif.dll
|
| Word for Windows Format
| uxfwordw.dll
|
| Word for DOS Format
| uxfdoc.dll
|
| WordPerfect Format
| uxfdoc.dll
|
| Quattro Pro 5.0 (WB1) Format
| uxfqp.dll
|
| Record Style Format (columns)
| uxfrec.dll
|
| Rich Text Format
| uxfrtf.dll
|
| Comma Separated Values (CSV)
| uxfsepv.dll
|
| Tab Separated Values
| uxfsepv.dll
|
| Character Separated Values
| uxfsepv.dll
|
| Text Format (ASCII)
| uxftext.dll
|
| Tab Separated Text Format
| uxftext.dll
|
| Lotus 1-2-3 (WKS)
| uxfwks.dll
|
| Lotus 1-2-3 (WK1)
| uxfwks.dll
|
| Lotus 1-2-3 (WK3)
| uxfwks.dll
|
| Excel 2.1
| uxfxls.dll
|
| Excel 3.0
| uxfxls.dll
|
| Excel 4.0
| uxfxls.dll
|
formatType
| Specifies the export format to be used. Assigns this value to the CRPEExportOptions::m_formatType member. Select from the following values:
|
| To export a report in this
format:
| Use this for formatType:
|
| Crystal Reports Format
| UXFCrystalReportType
|
| Data Interchange Format
| UXFDIFType
|
| Word for Windows Format
| UXFWordWinType
|
| Word for DOS Format
| UXFWordDosType
|
| WordPerfect Format
| UXFWordPerfectType
|
| Quattro Pro 5.0 (WB1) Format
| UXFQP5Type
|
| Record Style Format (columns)
| UXFRecordType
|
| Rich Text Format
| UXFRichTextFormatType
|
| Comma Separated Values (CSV)
| UXFCommaSeparatedType
|
| Tab Separated Values
| UXFTabSeparatedType
|
| Character Separated Values
| UXFCharSeparatedType
|
| Text Format (ASCII)
| UXFTextType
|
| Tab Separated Text Format
| UXFTabbedTextType
|
| Lotus 1-2-3 (WKS)
| UXFLotusWksType
|
| Lotus 1-2-3 (WK1)
| UXFLotusWk1Type
|
| Lotus 1-2-3 (WK3)
| UXFLotusWk3Type
|
| Excel 2.1
| UXFXls2Type
|
| Excel 3.0
| UXFXls3Type
|
| Excel 4.0
| UXFXls4Type
|
formatOptions
| Provides additional export information specific to the format type being used. Assigns this value to the CRPEExportOptions::m_formatOptions member. This parameter is required for only certain format types. If you assign NULL to this parameter, the Crystal Report Engine will automatically prompt the user for format information if needed. Otherwise, use a format options class from the following table:
|
| To export a report in this
format:
| Use this class:
|
| Data Interchange Format
| UXFDIFOptions
|
| Record Style Format (columns)
| UXFRecordStyleOptions
|
| Comma Separated Values (CSV)
| UXFCommaTabSeparated-Options
|
| Tab Separated Values
| UXFCommaTabSeparated-Options
|
| Character Separated Values
| UXFCharSeparatedOptions
|
destinationDLLName
| Specifies the name of the destination DLL that contains the destination type to be used. Assigns this value to the CRPEExportOptions::m_destinationDLLName member. The following options are available:
|
| To export a report to this
destination:
| Use this DLL name:
|
| Disk File
| uxddisk.dll
|
| E-mail (MAPI)
| uxdmapi.dll
|
| E-mail (VIM)
| uxdvim.dll
|
destinationType
| Specifies the destination type of the exported report. Assigns this value to the CRPEExportOptions::m_destinationType member. The following values are available:
|
| To export a report to this
destination:
| Use this destination type:
|
| Disk File
| UXDDiskType
|
| E-mail (MAPI)
| UXDMapiType
|
| E-mail (VIM)
| UXDVIMType
|
destinationOptions
| Provides additional information specific to the export destination type. Assigns this value to the CRPEExportOptions::m_destinationOptions member. If you assign NULL to this parameter, the Crystal Report Engine will automatically prompt the user for destination information when needed. Otherwise, use a destination options class from the following table:
|
| To export a report to this
destination:
| Use this class:
|
| Disk File
| UXDDiskOptions
|
| E-mail (MAPI)
| UXDMAPIOptions
|
| E-mail (VIM)
| UXDVIMOptions
|
Related Report Engine Calls
PEExportOptions